﻿using System;

namespace ConsoleDemo
{
    internal class Program
    {
        static void Main(string[] args)
        {
            foreach (var arg in args)
            {
                Console.WriteLine(arg);
            }
            Console.WriteLine("Hello");

            char a = '函';
            Console.WriteLine(a);

            //Conversion.ExplicitReferenceConversion();
            //MyDownloadString myDownloadString = new MyDownloadString();
            //myDownloadString.DoRun();
            //myDownloadString.DoRunAsync();

            //TypeExample.GetTypeObject();

            //NewlyAdded newlyAdded = new NewlyAdded();
            //newlyAdded.UseSampleTuple();
            //newlyAdded.DestructorDemo();


            //Console.WriteLine(nameof(ReflectionExample.PrintAssemblyInfo));

            //cpu信息
            //ProgramBeauty.CpuInfo();
            //ProgramBeauty.CpuUsageRate();

            //BeginInvoke 和 EndInvoke
            //BeginInvokeDemo.BeginInvokeDemoCall1();

            //MyDownloadString.BtnClick();

            Console.WriteLine(111111111111111111);

            SerialPortExample.Test();

            Console.ReadKey();
        }
    }
}
